/**
 * Created by Aber on 17/3/22.
 */
define('forum',function () {

})
// 依赖 =
// var app =require('../../directives/angular/app.js');
// require('../../directives/note-box/note-box.js')(app);
// 加载模块
module.exports = function(ngModule) {
    require('./forum.scss');
    ngModule.directive('forum',function () {
        return {
            restrict: 'E',//元素(element)
            scope: {},
            replace: true,
            template: require('./forum.html'),//模板
            controllerAs: 'forum',// <=> $scope.vm = {greeting: '你好，我是卡哥'}
            controller: function () {
            },
            link: function (scope,elements,attrs) {

            }
        }
    });//定义指令，对应页面中的<hello-world></hello-world>
    require(['forum'], function (my){
        var $ = require('jquery');
        $(function () {

        })
    });
}